//
//  TRTCNavView.swift
//  onemeetingmac
//
//  Created by 张衡 on 2019/12/18.
//  Copyright © 2019 onemeeting. All rights reserved.
//

import Foundation

class TRTCNavView: NSView {
   
    
    override init(frame frameRect: NSRect) {
        super.init(frame: frameRect)
        self.setupUI()
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    func setupUI() {
        
        self.wantsLayer = true
        self.layer?.backgroundColor = color_gray(240).cgColor
        
        
        
        self.addSubview(title)
        title.snp.makeConstraints { (make) in
            make.width.equalTo(200)
            make.height.equalTo(20)
            make.centerY.equalToSuperview()
            make.centerX.equalToSuperview()
        }
    }
    
    lazy var title: NSLabel = {
        let tef = NSLabel.label(title: "会议号:655230", textColor: color_gray(40), font: NSFont.systemFont(ofSize: 13))
        tef.alignment = .center
        return tef
    }()
}
